package com.daoeping.dao;

import com.daoeping.data.Bsc_workyear;
import java.util.List;




public class Bsc_workyearDAO extends AllDaoSupport {
	public List<Bsc_workyear> findBsc_workyearById(int id){
		String hql ="from Bsc_workyear w where w.id="+id;
		return (List<Bsc_workyear>) this.selectDataByHQL(hql);
	}

	public List<Bsc_workyear> findBsc_workyearList(){
		String hql ="from Bsc_workyear workyear";
		return (List<Bsc_workyear>) this.selectDataByHQL(hql);
	}
}